<template> 
    <div> 
        <!-- 数据源 -->
        <slot :list="list"/>
    </div>
</template>

<script>
export default {
    name:'scope',
    data(){
        return {
            list:[{
                userName:'zhangsan',
                age:'18'
            },{
                userName:'Lisi',
                age:"30"
            },{
                userName:'wangWU',
                age:'40'  
            }]
        }
    }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="less">

</style>
